import request  from '@/utils/request'

const api = {
    tide: '/api/tide',
    notice: '/api/notice',
    warn: '/api/warn',
    warndetail: '/api/wadetail',
    noticedetail:'/api/nodetail',
    quick:'/api/jxgimsa/vessel/quick'
}
export function getTide(params) {
    return request({
        url: api.tide,
        method: 'post',
        data: params
    })
}
export function getNotice(params) {
    return request({
        url: api.notice,
        method: 'post',
        data: params
    })
}
export function getWarn(params) {
    return request({
        url: api.warn,
        method: 'post',
        data: params
    })
}
export function getWarnDetail(params) {
    return request({
        url: api.warndetail,
        method: 'post',
        data: params
    })
}
export function getNoticeDetail(params) {
    return request({
        url: api.noticedetail,
        method: 'post',
        data: params
    })
}
export function getQuick(params) {
    return request({
        url: api.quick,
        method: 'post',
        data: params
    })
}

export default api
